<?php require_once LAYOUTPATH.'layout_header.php'; ?>

<h1>Stats for <?php echo $bricabox->name; ?></h1>

<div id="bricabox_tabs" class="admin">
	<ul>
		<li class="back"><a href="/">&lsaquo; Back to your BricaBox</a></li>
		<?php render_tabs($admin_tabs); ?>
	</ul>
</div>

<dl class="stats_list">
	<dt>Total page views since <?php echo date('m/d/Y', strtotime($bricabox->created_at)); ?>:</dt>
	<dd><?php echo $bricabox->stat_total_views; ?></dd>
	
	<dt>Published <a href="/admin/entries">entries</a>:</dt>
	<dd><?php echo $entry_count; ?></dd>
	
	<dt>Total <a href="/admin/members">members</a>:</dt>
	<dd><?php echo $member_count; ?></dd>
</dl>

<?php require_once LAYOUTPATH.'layout_footer.php'; ?>